import {Component} from '@angular/core';

import {AboutPage} from '../about/about';
import {ContactPage} from '../contact/contact';
import {HomePage} from '../home/home';
import{PersonPage} from '../person/person';
import {Http,Headers} from '@angular/http';

import 'rxjs/add/operator/toPromise';
import 'rxjs/add/operator/timeout';

@Component({
  templateUrl: 'tabs.html'
})
export class TabsPage {

  tab1Root = HomePage;
  tab2Root = AboutPage;
  tab3Root = ContactPage;
  tab4Root = PersonPage;
  private headers = new Headers({'Content-Type':'application/json;chartset=utf-8'});
  url:string = '../assets/data/list.json';

  param = {
    id: "",
  };
  constructor(public http:Http) {

  }


}
